load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

go_library(
    name = "go_default_library",
    srcs = ["main.go"],
    importpath = "k8s.io/kops/cmd/nodeup",
    visibility = ["//visibility:private"],
    deps = [
        "//:go_default_library",
        "//nodeup/pkg/bootstrap:go_default_library",
        "//upup/pkg/fi/nodeup:go_default_library",
        "//vendor/k8s.io/klog/v2:go_default_library",
    ],
)

go_binary(
    name = "nodeup",
    embed = [":go_default_library"],
    visibility = ["//visibility:public"],
)
